﻿
    using System;
using System.Globalization;
namespace YoucaiReader.Helper.Drawing
{
    public class UnsupportedEncodingException : Exception
    {
        public UnsupportedEncodingException()
        {
        }

        public UnsupportedEncodingException(string reason) : base(reason)
        {
        }

        public UnsupportedEncodingException(string reason, Exception innerException) : base(reason, innerException)
        {
        }

        public UnsupportedEncodingException(string reason, string encoding) : base(string.Format(CultureInfo.InvariantCulture, "Reason {0}\nEncoding: {1}", new object[] { reason, encoding }))
        {
        }
    }
}

